﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="default_edit.aspx.cs" Inherits="EM.operation.income.default_edit" %>

<%@ Register Src="~/Common/PageName.ascx" TagName="PageName" TagPrefix="uc1" %>
<%@ Register Assembly="RadCalendar.Net2" Namespace="Telerik.WebControls" TagPrefix="radCln" %>
<%@ Register Src="~/Common/NumberFormat.ascx" TagName="NumberFormat" TagPrefix="ucNumberFormat" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>Untitled Page</title>
    <meta content="text/html; charset=windows-2254" http-equiv="Content-Type" />
    <meta content="tr" http-equiv="Content-Language" />
    <link id="Link3" runat="server" href="~/css/master.css" rel="stylesheet" type="text/css" />
    <link runat="server" id="linkcssbuttons" rel="stylesheet" href="~/css/buttons.css"
        type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <ucNumberFormat:NumberFormat ID="NumberFormat1" runat="server" />
    <table width="100%" cellspacing="0" cellpadding="0" border="0">
        <tr>
            <td class="TdMainContent" valign="top">
                <table width="600" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td colspan="2">
                            <uc1:PageName ID="ucPageName" PAGEID="18" PAGEWIDTH="800" runat="server"></uc1:PageName>
                        </td>
                    </tr>
                    <tr>
                        <td id="TdMainRight" class="TdMainRight" valign="top" style="width: 800px;">
                            <div id="ContentRight">
                                <table class="MasterEditTable" cellpadding="0" cellspacing="0" border="0" style="width: 700px;">
                                    <tr>
                                        <td class="EditTableLable_Td" style="width: 225px;">
                                            Gelir ID:
                                        </td>
                                        <td>
                                            <asp:Label ID="lblExpenseId" runat="server"></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="EditTableLable_Td" style="width: 225px;">
                                            Gelir Tipi:
                                        </td>
                                        <td>
                                            <asp:DropDownList ID="ddlExpenseType" runat="server" CssClass="EditinputRq" Width="400px">
                                            </asp:DropDownList>
                                            <asp:RequiredFieldValidator ID="rfvExpenseType" ControlToValidate="ddlExpenseType"
                                                runat="server" ErrorMessage="Gelir tipini seçiniz" InitialValue="0" Display="None"
                                                ValidationGroup="vg"></asp:RequiredFieldValidator>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="EditTableLable_Td" style="width: 225px;">
                                            Tarih :
                                        </td>
                                        <td>
                                            <radCln:RadDatePicker ID="rdpDate" runat="server" DateInput-DateFormat="dd.MM.yyyy"
                                                MinDate="01/01/2007" MaxDate="01/01/2050" Width="100px">
                                                <DateInput Skin="masterRq" DateFormat="dd.MM.yyyy"></DateInput>
                                            </radCln:RadDatePicker>
                                            <asp:RequiredFieldValidator ID="rfvDate" ControlToValidate="rdpDate" runat="server"
                                                ErrorMessage="Gelir Tarihini seçiniz" InitialValue="2007-01-01" Display="None"
                                                ValidationGroup="vg"></asp:RequiredFieldValidator>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="EditTableLable_Td" style="width: 225px;">
                                            Kullanıcı:</td>
                                        <td>
                                            <asp:DropDownList ID="ddlUser" runat="server" CssClass="EditinputRq" 
                                                Width="400px">
                                            </asp:DropDownList>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="EditTableLable_Td" style="width: 225px;">
                                            Tutar:
                                        </td>
                                        <td width="300">
                                            <asp:TextBox ID="txtAmount" onblur="valNumber(this,2)" runat="server" CssClass="Editinputrq"
                                                Width="70px"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="rfvAmount" ControlToValidate="txtAmount" runat="server"
                                                ErrorMessage="Gelir tutarını giriniz" Display="None" ValidationGroup="vg"></asp:RequiredFieldValidator>
                                                <asp:DropDownList ID="ddlCurrencyId" runat="server" CssClass="EditinputRq" Width="50px">
                                            </asp:DropDownList>
                                            <asp:RequiredFieldValidator ID="rfvCurrencyId" ControlToValidate="ddlCurrencyId" runat="server"
                                                ErrorMessage="Ödeme kuru seçiniz" Display="None" ValidationGroup="vg_fake"></asp:RequiredFieldValidator>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="EditTableLable_Td" style="width: 225px;">
                                            Açıklama:
                                        </td>
                                        <td width="300">
                                            <asp:TextBox ID="txtDescription" runat="server" CssClass="Editinput" Width="400px"
                                                Height="50px" TextMode="MultiLine"></asp:TextBox>
                                        </td>
                                    </tr>
                                </table>
                                <asp:ValidationSummary ID="vs" runat="server" Width="0" ValidationGroup="vg" ShowSummary="false"
                                    DisplayMode="BulletList" ShowMessageBox="true" />
                                <div style="width: 800px; margin-top: 25px;">
                                    <a id="btnClose" style="float: right" class="btn_left xp_cancel" runat="server" onclick="javascript:window.close()">
                                        <strong class="btn_rigth_xp xp">Kapat</strong> </a>
                                    <asp:LinkButton ID="btnSave" Style="float: right;" CssClass="btn_left xp_ok" runat="server"
                                        OnClick="btnSave_Click" ValidationGroup="vg">
                                        <strong class="btn_rigth_xp xp">
                                            <asp:Label ID="lblSave" runat="server" Text="Kaydet"></asp:Label></strong>
                                    </asp:LinkButton>
                                </div>
                            </div>
                        </td>
                    </tr>
                </table>
    </form>
</body>
